import request from '@/utils/request'

// 查询定位信息列表
export function listLocationAll(query) {
  return request({
    url: '/manage/locationAll/list',
    method: 'get',
    params: query
  })
}

// 查询定位信息详细
export function getLocationAll(id) {
  return request({
    url: '/manage/locationAll/' + id,
    method: 'get'
  })
}

// 新增定位信息
export function addLocationAll(data) {
  return request({
    url: '/manage/locationAll',
    method: 'post',
    data: data
  })
}

// 修改定位信息
export function updateLocationAll(data) {
  return request({
    url: '/manage/locationAll',
    method: 'put',
    data: data
  })
}

// 删除定位信息
export function delLocationAll(id) {
  return request({
    url: '/manage/locationAll/' + id,
    method: 'delete'
  })
}

// 导出定位信息
export function exportLocationAll(query) {
  return request({
    url: '/manage/locationAll/export',
    method: 'get',
    params: query
  })
}